package com.powernode.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Description: 阿里云oss配置类
 * @Author: Tong Ziyu
 * @Date: 2025/2/6 13:11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
@RefreshScope
public class AliyunOssConfig {
    private String endpoint;

    private String bucketName;

    private String accessKeyId;

    private String accessKeySecret;
}
